- AllocVecPooled(pool,size)
This functions calls exec's AllocPooled() and stores also it's <size>,
it is possible to free such chunk of memory if You don't know it's length.
See also FreeVecPooled().
- FreeVecPooled(pool,mem)
This function frees memory allocated by AllocVecPooled().
- SizePooled(mem)
This function returns size of memory chunk allocated by AllocVecPooled().
- CtrlC(), CtrlD(), CtrlE(), CtrlF()
There functions checks if ctrl+c etc. key combination is pressed. If yes
TRUE else 0 is returned.
- Long(a), Word(a), Byte(a)
Returns byte/word/long value what is on address specified by <a>.
(Byte() function requires atleast 020)
- ULong(a), UWord(a), UByte(a)
Returns unsigned byte/word/long value what is on address specified by
<a>. ULong() equals to Long() (both returns the same).
- PutLong(a,b), PutWord(a,b), PutByte(a,b)
Writes byte/word/long value specified by <b> to address specified
by <a>.
- KickVersion(requied)
Returns TRUE if <requied> is lower or equal to your system version,
else returns FALSE.
- Rnd(top)
Returns a pseudo random number from range 0 to <top>-1. If the
<top> value is lower then zero, new seed is set. <top> must
be a 16bit number.
- RndQ(seed)
This is quite faster than Rnd(), but it returns a pseudo random 32bit
number. Use the result of this function for next <seed> of this
function to get random numbers.
- New(size)
This functions allocates a piece of memory for you. This memory can be
freed by Free() function. All allocations will be freed on program exit.
See also Free().
- Free(mem)
Free a piece of memory allocated by New() or NewR() or NewM() functions.